﻿--[[
Simple Music
Author: Icecoldcoke
Simple addon to play various music in-game with the click of a button.
All sounds are currently located in-game.
]]
function SimpleMusicFormEvent(arg1)
    if(event == "VARIABLES_LOADED") then
    PlaySoundFile("Interface\\AddOns\\SimpleMusic\\loaded.mp3");
DEFAULT_CHAT_FRAME:AddMessage("|cff0099FFSimpleMusic :|r |cffFF0000 2.3.006|r |cff33FF00 Loaded!|r")
  end
end

function SimpleMusicForm_Load()
	SimpleMusicForm:Show()
    PlaySoundFile("Interface\\AddOns\\SimpleMusic\\loaded.mp3");
    end

SLASH_SimpleMusic1 = "/SM"
SLASH_SimpleMusic2 = "/simplemusic"

SlashCmdList["SimpleMusic"] = function(msg)
   SimpleMusicForm_Load()
end




			